package com.kingdee.eas.deppon.journal;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class JournalFacadeFactory
{
    private JournalFacadeFactory()
    {
    }
    public static com.kingdee.eas.deppon.journal.IJournalFacade getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.deppon.journal.IJournalFacade)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("5019FE51") ,com.kingdee.eas.deppon.journal.IJournalFacade.class);
    }
    
    public static com.kingdee.eas.deppon.journal.IJournalFacade getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.deppon.journal.IJournalFacade)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("5019FE51") ,com.kingdee.eas.deppon.journal.IJournalFacade.class, objectCtx);
    }
    public static com.kingdee.eas.deppon.journal.IJournalFacade getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.deppon.journal.IJournalFacade)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("5019FE51"));
    }
    public static com.kingdee.eas.deppon.journal.IJournalFacade getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.deppon.journal.IJournalFacade)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("5019FE51"));
    }
}